PHPR API (3.7.0)

Download OpenAPI specification:

PHPR API USING API-PLATFORM

accounting_periods

Creates a accounting_periods resource.

Creates a accounting_periods resource.

Authorizations:
JWT
path Parameters
id
required
string

accounting_periods identifier

Request Body schema:
required

The new accounting_periods resource

closedAt
string or null <date-time>
dateStart
required
string <date-time>
dateEnd
string <date-time>
periodicity
string or null <iri-reference>
yearEnd
required
boolean
transactions
Array of strings <iri-reference> [ items <iri-reference > ]

Get transactions.

child
string or null <iri-reference>
parent
string or null <iri-reference>
notes
string or null
closingAmount
string or null
closingDiff
string or null
deletedAt
string or null <date-time>
slug
required
string

DB Identifier

customProperties
any

Can contain anything (array, objects, nested objects...).

customData
Array of strings or null
createdAt
string <date-time>
updatedAt
string <date-time>
disabledAt
string or null <date-time>
object (Collection.jsonld)
upload_filename
string
upload_subfolder
string
upload_file
string
upload_file_link
string
timestamp
string <date-time>

Get createdAt.

upload_Subfolder
string
upload_File
string
upload_File_Link
string

Responses

Request samples

Content type
{
  • "closedAt": "2019-08-24T14:15:22Z",
  • "dateStart": "2019-08-24T14:15:22Z",
  • "dateEnd": "2019-08-24T14:15:22Z",
  • "periodicity": "https://example.com/",
  • "yearEnd": true,
  • "transactions": [],
  • "notes": "string",
  • "closingAmount": "string",
  • "closingDiff": "string",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "slug": "string",
  • "customProperties": null,
  • "customData": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "entityFiles": { },
  • "upload_filename": "string",
  • "upload_subfolder": "string",
  • "upload_file": "string",
  • "upload_file_link": "string",
  • "timestamp": "2019-08-24T14:15:22Z",
  • "upload_Subfolder": "string",
  • "upload_File": "string",
  • "upload_File_Link": "string"
}

Response samples

Content type
{
  • "@context": "string",
  • "@id": "string",
  • "@type": "string",
  • "closedAt": "2019-08-24T14:15:22Z",
  • "dateStart": "2019-08-24T14:15:22Z",
  • "dateEnd": "2019-08-24T14:15:22Z",
  • "periodicity": {
    },
  • "yearEnd": true,
  • "child": { },
  • "parent": { },
  • "shortcode": "AP",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "id": 0,
  • "slug": "string",
  • "customData": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "toString": "string",
  • "transactionsListing": "string",
  • "periodClosed": true,
  • "periodNumberDays": 0,
  • "accountingPeriodNumber": 0,
  • "customPropertiesListing": "string",
  • "anonymousToken": "string",
  • "uniqueId": "string",
  • "taggingListing": "string",
  • "enabled": true,
  • "disabled": true
}